package com.xbongbong.saas.domain.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 序列号流水实体类
 *
 * @author makejava
 * @since 2020-05-19 13:43:29
 */
@Setter
@Getter
@ToString
public class ProductSerialFlowEntity implements Serializable {
    private static final long serialVersionUID = -61648163377250155L;
    /**
    * id
    */
    private Long id;
    /**
    * 公司id
    */
    private String corpid;
    /**
    * 父产品id
    */
    private Long parentId;
    /**
    * 子产品id
    */
    private Long productId;
    /**
    * 序列号
    */
    private String seq;
    /**
    * 状态
    */
    private Integer status;
    /**
    * 业务发生时间
    */
    private Long date;
    /**
    * 业务类型(关联单据类型)
    */
    private Integer businessType;
    /**
    * 关联单据id
    */
    private Long refId;
    /**
    * 关联单据名称
    */
    private String refSheetNo;
    /**
    * 仓库id
    */
    private Long warehouseId;
    /**
    * 仓库名称
    */
    private String warehouseName;
    /**
    * 往来单位
    */
    private Long businessId;
    /**
    * 往来单位名称
    */
    private String businessName;
    /**
    * product_seq
    */
    private String seqKey;
    /**
    * 备注
    */
    private String memo;
    /**
    * 创建时间戳
    */
    private Long addTime;
    /**
    * 更新时间戳
    */
    private Long updateTime;
    /**
    * 删除标记
    */
    private Integer del;
    /**
     * 关联产品id
     */
    private Long refProductId;
}